From 08ce8e451aab8af79c56431812f2ffcd1ef66811 Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Fri, 12 Aug 2005 08:41:09 +0000 Subject: [PATCH] - absolute path for ocaml-md5sums - avoid failure if ocaml-md5sums is not available (ocaml-base-nox may have been removed before current package) --- postrm-ocaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/postrm-ocaml b/postrm-ocaml index e6db7e7a..30436a46 100644 --- a/postrm-ocaml +++ b/postrm-ocaml @@ -1,3 +1,5 @@ if [ "$1" = "remove" ]; then - ocaml-md5sums update + if [ -x /usr/bin/ocaml-md5sums ]; then + /usr/bin/ocaml-md5sums update + fi fi -- 2.30.2